// 首页相关路由
import Layout from '@/views/Layout/index.vue'
import AboutList from '@/views/About/list.vue'
import AboutCreate from '@/views/About/create.vue'
import AboutUpdate from '@/views/About/update.vue'
// /home/about/list
export default {
  path: '/about',
  component: Layout,
  redirect: '/about/list',
  meta: {
    title: 'about'
  },
  children: [
    {
      path: 'list',
      component: AboutList,
      name: 'listAbout',
      meta: {
        title: 'list'
      }
    },
    {
      path: 'create',
      component: AboutCreate,
      name: 'createAbout',
      hidden: true,
      meta: {
        title: 'create'
      }
    },
    {
      path: 'update',
      component: AboutUpdate,
      name: 'updateAbout',
      hidden: true,
      meta: {
        title: 'update'
      }
    }
  ]
}
